package com.crm.model.entity.contractManager;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CustomerContractDeveloperExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerContractDeveloperExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andContractDeveloperIdIsNull() {
            addCriterion("contract_developer_id is null");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdIsNotNull() {
            addCriterion("contract_developer_id is not null");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdEqualTo(String value) {
            addCriterion("contract_developer_id =", value, "contractDeveloperId");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdNotEqualTo(String value) {
            addCriterion("contract_developer_id <>", value, "contractDeveloperId");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdGreaterThan(String value) {
            addCriterion("contract_developer_id >", value, "contractDeveloperId");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdGreaterThanOrEqualTo(String value) {
            addCriterion("contract_developer_id >=", value, "contractDeveloperId");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdLessThan(String value) {
            addCriterion("contract_developer_id <", value, "contractDeveloperId");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdLessThanOrEqualTo(String value) {
            addCriterion("contract_developer_id <=", value, "contractDeveloperId");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdLike(String value) {
            addCriterion("contract_developer_id like", value, "contractDeveloperId");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdNotLike(String value) {
            addCriterion("contract_developer_id not like", value, "contractDeveloperId");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdIn(List<String> values) {
            addCriterion("contract_developer_id in", values, "contractDeveloperId");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdNotIn(List<String> values) {
            addCriterion("contract_developer_id not in", values, "contractDeveloperId");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdBetween(String value1, String value2) {
            addCriterion("contract_developer_id between", value1, value2, "contractDeveloperId");
            return (Criteria) this;
        }

        public Criteria andContractDeveloperIdNotBetween(String value1, String value2) {
            addCriterion("contract_developer_id not between", value1, value2, "contractDeveloperId");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNull() {
            addCriterion("contract_id is null");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNotNull() {
            addCriterion("contract_id is not null");
            return (Criteria) this;
        }

        public Criteria andContractIdEqualTo(String value) {
            addCriterion("contract_id =", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotEqualTo(String value) {
            addCriterion("contract_id <>", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThan(String value) {
            addCriterion("contract_id >", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThanOrEqualTo(String value) {
            addCriterion("contract_id >=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThan(String value) {
            addCriterion("contract_id <", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThanOrEqualTo(String value) {
            addCriterion("contract_id <=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLike(String value) {
            addCriterion("contract_id like", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotLike(String value) {
            addCriterion("contract_id not like", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdIn(List<String> values) {
            addCriterion("contract_id in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotIn(List<String> values) {
            addCriterion("contract_id not in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdBetween(String value1, String value2) {
            addCriterion("contract_id between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotBetween(String value1, String value2) {
            addCriterion("contract_id not between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(String value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(String value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(String value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(String value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(String value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLike(String value) {
            addCriterion("order_id like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotLike(String value) {
            addCriterion("order_id not like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<String> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<String> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(String value1, String value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(String value1, String value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperIsNull() {
            addCriterion("co_developer is null");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperIsNotNull() {
            addCriterion("co_developer is not null");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperEqualTo(String value) {
            addCriterion("co_developer =", value, "coDeveloper");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperNotEqualTo(String value) {
            addCriterion("co_developer <>", value, "coDeveloper");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperGreaterThan(String value) {
            addCriterion("co_developer >", value, "coDeveloper");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperGreaterThanOrEqualTo(String value) {
            addCriterion("co_developer >=", value, "coDeveloper");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperLessThan(String value) {
            addCriterion("co_developer <", value, "coDeveloper");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperLessThanOrEqualTo(String value) {
            addCriterion("co_developer <=", value, "coDeveloper");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperLike(String value) {
            addCriterion("co_developer like", value, "coDeveloper");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperNotLike(String value) {
            addCriterion("co_developer not like", value, "coDeveloper");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperIn(List<String> values) {
            addCriterion("co_developer in", values, "coDeveloper");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperNotIn(List<String> values) {
            addCriterion("co_developer not in", values, "coDeveloper");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperBetween(String value1, String value2) {
            addCriterion("co_developer between", value1, value2, "coDeveloper");
            return (Criteria) this;
        }

        public Criteria andCoDeveloperNotBetween(String value1, String value2) {
            addCriterion("co_developer not between", value1, value2, "coDeveloper");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNull() {
            addCriterion("create_people_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNotNull() {
            addCriterion("create_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdEqualTo(String value) {
            addCriterion("create_people_id =", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotEqualTo(String value) {
            addCriterion("create_people_id <>", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThan(String value) {
            addCriterion("create_people_id >", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_people_id >=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThan(String value) {
            addCriterion("create_people_id <", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("create_people_id <=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLike(String value) {
            addCriterion("create_people_id like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotLike(String value) {
            addCriterion("create_people_id not like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIn(List<String> values) {
            addCriterion("create_people_id in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotIn(List<String> values) {
            addCriterion("create_people_id not in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdBetween(String value1, String value2) {
            addCriterion("create_people_id between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("create_people_id not between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(String value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(String value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(String value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(String value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(String value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(String value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLike(String value) {
            addCriterion("company_id like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotLike(String value) {
            addCriterion("company_id not like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<String> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<String> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(String value1, String value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(String value1, String value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andAllocationMountIsNull() {
            addCriterion("allocation_mount is null");
            return (Criteria) this;
        }

        public Criteria andAllocationMountIsNotNull() {
            addCriterion("allocation_mount is not null");
            return (Criteria) this;
        }

        public Criteria andAllocationMountEqualTo(BigDecimal value) {
            addCriterion("allocation_mount =", value, "allocationMount");
            return (Criteria) this;
        }

        public Criteria andAllocationMountNotEqualTo(BigDecimal value) {
            addCriterion("allocation_mount <>", value, "allocationMount");
            return (Criteria) this;
        }

        public Criteria andAllocationMountGreaterThan(BigDecimal value) {
            addCriterion("allocation_mount >", value, "allocationMount");
            return (Criteria) this;
        }

        public Criteria andAllocationMountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("allocation_mount >=", value, "allocationMount");
            return (Criteria) this;
        }

        public Criteria andAllocationMountLessThan(BigDecimal value) {
            addCriterion("allocation_mount <", value, "allocationMount");
            return (Criteria) this;
        }

        public Criteria andAllocationMountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("allocation_mount <=", value, "allocationMount");
            return (Criteria) this;
        }

        public Criteria andAllocationMountIn(List<BigDecimal> values) {
            addCriterion("allocation_mount in", values, "allocationMount");
            return (Criteria) this;
        }

        public Criteria andAllocationMountNotIn(List<BigDecimal> values) {
            addCriterion("allocation_mount not in", values, "allocationMount");
            return (Criteria) this;
        }

        public Criteria andAllocationMountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("allocation_mount between", value1, value2, "allocationMount");
            return (Criteria) this;
        }

        public Criteria andAllocationMountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("allocation_mount not between", value1, value2, "allocationMount");
            return (Criteria) this;
        }

        public Criteria andAllocationRatioIsNull() {
            addCriterion("allocation_ratio is null");
            return (Criteria) this;
        }

        public Criteria andAllocationRatioIsNotNull() {
            addCriterion("allocation_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andAllocationRatioEqualTo(BigDecimal value) {
            addCriterion("allocation_ratio =", value, "allocationRatio");
            return (Criteria) this;
        }

        public Criteria andAllocationRatioNotEqualTo(BigDecimal value) {
            addCriterion("allocation_ratio <>", value, "allocationRatio");
            return (Criteria) this;
        }

        public Criteria andAllocationRatioGreaterThan(BigDecimal value) {
            addCriterion("allocation_ratio >", value, "allocationRatio");
            return (Criteria) this;
        }

        public Criteria andAllocationRatioGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("allocation_ratio >=", value, "allocationRatio");
            return (Criteria) this;
        }

        public Criteria andAllocationRatioLessThan(BigDecimal value) {
            addCriterion("allocation_ratio <", value, "allocationRatio");
            return (Criteria) this;
        }

        public Criteria andAllocationRatioLessThanOrEqualTo(BigDecimal value) {
            addCriterion("allocation_ratio <=", value, "allocationRatio");
            return (Criteria) this;
        }

        public Criteria andAllocationRatioIn(List<BigDecimal> values) {
            addCriterion("allocation_ratio in", values, "allocationRatio");
            return (Criteria) this;
        }

        public Criteria andAllocationRatioNotIn(List<BigDecimal> values) {
            addCriterion("allocation_ratio not in", values, "allocationRatio");
            return (Criteria) this;
        }

        public Criteria andAllocationRatioBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("allocation_ratio between", value1, value2, "allocationRatio");
            return (Criteria) this;
        }

        public Criteria andAllocationRatioNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("allocation_ratio not between", value1, value2, "allocationRatio");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Short value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Short value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Short value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Short value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Short value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Short> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Short> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Short value1, Short value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Short value1, Short value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}